package defpackage; import java.io.IOException; import java.util.ArrayList; /* renamed from: odr reason: default package */ public class odr extends odp { public odr(ejz ejz, nos nos) { super(ejz, nos); } @Override // defpackage.odp public void dnS() throws IOException { this.qqe.i("a:graphic", "xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main"); new oea(this.eWH, this.qqd).dnS(); this.qqe.endElement("a:graphic"); } /* access modifiers changed from: protected */ public final void eeW() throws IOException { bvk Ax; float f = 0.0f; ejp baA = this.eWH.baA(); if (baA != null && (Ax = baA.Ax()) != null) { float width = Ax.width() * baA.baa(); if (width < 0.0f) { width = 0.0f; } int H = (int) fh.H(width); float height = Ax.height() * baA.bab(); if (height >= 0.0f) { f = height; } this.qqe.j("wp:extent", "cx", Integer.toString(H), "cy", Integer.toString((int) fh.H(f))); } } /* access modifiers changed from: protected */ public final void eeX() throws IOException { this.qqe.j("wp:effectExtent", "l", Integer.toString((int) fh.H(this.eWH.bao().getFloat(904, 0.0f))), "t", Integer.toString((int) fh.H(this.eWH.bao().getFloat(905, 0.0f))), "r", Integer.toString((int) fh.H(this.eWH.bao().getFloat(906, 0.0f))), "b", Integer.toString((int) fh.H(this.eWH.bao().getFloat(907, 0.0f)))); } /* access modifiers changed from: protected */ public final void eeY() throws IOException { boolean z; boolean z2; boolean z3; boolean z4; ejv baN = this.eWH.baN(); if (baN != null) { z4 = baN.bas(); z3 = baN.bau(); z2 = baN.bav(); z = baN.bax(); } else { z = false; z2 = false; z3 = false; z4 = false; } this.qqe.i("wp:cNvGraphicFramePr", new String[0]); this.qqe.j("a:graphicFrameLocks", "xmlns:a", "http://schemas.openxmlformats.org/drawingml/2006/main", "noChangeAspect", String.valueOf(z4), "noSelect", String.valueOf(z3), "noResize", String.valueOf(z2), "noGrp", String.valueOf(z)); this.qqe.endElement("wp:cNvGraphicFramePr"); } /* access modifiers changed from: protected */ public final void eeZ() throws IOException { ArrayList<String> arrayList = new ArrayList<>(); arrayList.add("id"); arrayList.add(Integer.toString(this.eWH.eWz)); String baL = this.eWH.baL(); if (baL == null) { baL = "Image1"; } arrayList.add("name"); arrayList.add(baL); String description = this.eWH.getDescription(); if (description != null) { arrayList.add("descr"); arrayList.add(description); } this.qqe.d("wp:docPr", arrayList); this.qqe.endElement("wp:docPr"); } }